package com.hongye.proprietary.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongye.common.utils.PageUtils;
import com.hongye.common.utils.Query;

import com.hongye.proprietary.dao.ProblemFeedbackDao;
import com.hongye.proprietary.entity.ProblemFeedbackEntity;
import com.hongye.proprietary.service.ProblemFeedbackService;


@Service("problemFeedbackService")
public class ProblemFeedbackServiceImpl extends ServiceImpl<ProblemFeedbackDao, ProblemFeedbackEntity> implements ProblemFeedbackService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ProblemFeedbackEntity> page = this.page(
                new Query<ProblemFeedbackEntity>().getPage(params),
                new QueryWrapper<ProblemFeedbackEntity>()
        );

        return new PageUtils(page);
    }

}